<template>
  <div class="contain">
    <div class="timeKill">
      <div class="timeKill-title">
        <text class="timeKill-title-text">限时秒杀</text>
      </div>
      <div class="timeKill-end">
        <text class="timeKill-end-text">00点开抢,距离结束:</text>
        <div class="timeKill-end-iamge-wrap">
          <image class="timeKill-end-iamge" src="https://rzico-weex.oss-cn-hangzhou.aliyuncs.com/images/321321321321321321321321.png"></image>
        </div>
      </div>
      <div class="timeKill-time">
        <div class="timeKill-time-div"><text class="color-red font-size28">03</text></div>
        <text class="color-white">:</text>
        <div class="timeKill-time-div"><text class="color-red font-size28">11</text></div>
        <text class="color-white">:</text>
        <div class="timeKill-time-div"><text class="color-red font-size28">12</text> </div>
        <text class="color-white">:</text>
        <div class="timeKill-time-div"><text class="color-red font-size28">02</text> </div>
      </div>
    </div>
    <scroller  class="recommendedMerchants" scroll-direction='horizontal'>
      <div class="recommendedMerchants-item">
        <div class="item-image border">
          <image class="border" style="height:230px;width: 230px" src="https://q-extra.paixin.com/default/2021/0805/395b0037235d261e7b4a665d44764845.jpg"></image>
        </div>
        <div class="secondKillJia">
          <text class="redClorFontSie32">秒杀价:¥</text>
          <text class="redClorFontSie38">29.9</text>
        </div>
        <div class="marketValue">
          <text class="marketValue-title">市场价:¥</text>
          <text class="marketValue-price">79</text>
        </div>
      </div>
      <div class="recommendedMerchants-item">
        <div class="item-image border">
          <image class="border" style="height:230px;width: 230px" src="https://q-extra.paixin.com/default/2021/0805/395b0037235d261e7b4a665d44764845.jpg"></image>
        </div>
        <div class="secondKillJia">
          <text class="redClorFontSie32">秒杀价:¥</text>
          <text class="redClorFontSie38">29.9</text>
        </div>
        <div class="marketValue">
          <text class="marketValue-title">市场价:¥</text>
          <text class="marketValue-price">79</text>
        </div>
      </div>
      <div class="recommendedMerchants-item">
        <div class="item-image border">
          <image class="border" style="height:230px;width: 230px" src="https://q-extra.paixin.com/default/2021/0805/395b0037235d261e7b4a665d44764845.jpg"></image>
        </div>
        <div class="secondKillJia">
          <text class="redClorFontSie32">秒杀价:¥</text>
          <text class="redClorFontSie38">29.9</text>
        </div>
        <div class="marketValue">
          <text class="marketValue-title">市场价:¥</text>
          <text class="marketValue-price">79</text>
        </div>
      </div>
      <div class="recommendedMerchants-item">
        <div class="item-image border">
          <image class="border" style="height:230px;width: 230px" src="https://q-extra.paixin.com/default/2021/0805/395b0037235d261e7b4a665d44764845.jpg"></image>
        </div>
        <div class="secondKillJia">
          <text class="redClorFontSie32">秒杀价:¥</text>
          <text class="redClorFontSie38">29.9</text>
        </div>
        <div class="marketValue">
          <text class="marketValue-title">市场价:¥</text>
          <text class="marketValue-price">79</text>
        </div>
      </div>
    </scroller>

  </div>

</template>

<script>
export default {
  name: "timeKill.vue"
}
</script>

<style scoped>
.contain{
  margin-top: 120px;
  margin-left: 25px;
  border-top-right-radius: 18px;
  border-top-left-radius: 18px;
  width: 690px;
}
.timeKill{
  background-color: #fc922e;
  display: flex;
  flex-direction: row;
  width:700px;
  height: 95px;
}
.timeKill-time{
  display: flex;
  width: 350px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;

}
.timeKill-title{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width:180px;
  background-color:#fd5b40;

}
.timeKill-title-text{
  font-size:36px;
  color: white;
  font-weight: bold;
}
.timeKill-end{
  width:160px;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.timeKill-end-iamge-wrap{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 40px;
  height: 95px;
}
.timeKill-end-iamge{
  width: 40px;
  height: 95px;
}
.timeKill-end-text{
  padding-left: 40px;
  color: white;
  font-size:26px;
  width: 160px;
  height: 70px;
  text-align: center;
}
.timeKill-time-div{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width:68px;
  height: 68px;
  background-color: white;
  border-radius: 12px;
}
.color-white{
  color: white;
  font-size: 32px;
  font-weight: bold;
  padding-left:2px;
  padding-right: 2px;
}
.font-size28{
  font-size: 28px;
}
.color-red{
  color:#ef0f19;
}







.recommendedMerchants{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 360px;
}
.recommendedMerchants-item{
  margin-top: 20px;
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start ;
  justify-content: center;
}
.border{
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-bottom-color:#f5654d;
  border-top-style: solid;
  border-top-width: 2px;
  border-top-color:#f5654d;

  border-right-style: solid;
  border-right-width: 2px;
  border-right-color:#f5654d;
  border-left-style: solid;
  border-left-width: 2px;
  border-left-color:#f5654d;

  border-radius: 12px;
}


.secondKillJia{
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}
.marketValue{
  display: flex;
  flex-direction: row;
}
.redClorFontSie32{
  color:#fd0f23;
  font-size: 32px;
}
.redClorFontSie38{
  color:#fd0f23;
  font-size: 38px;
}
.marketValue-title{
  font-size: 32px;
}
.marketValue-price{
  font-size: 32px;
  color:grey;
}



</style>
